package com.service;

import com.config.Result;
import com.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;


public interface UserService {

    User selectUserByPassword(User user);

    int updateInfo(User user);

    int updateSno(String sno,String username);

    User selectByUsername(User user);

    User findById(User user);

    User findBySno(String sno);

    Integer insertData(@Param("user") User user, @Param("roleId") String roleId);


}
